package com.coderman.basketball.domain.gataway.member;

import com.coderman.basketball.domain.model.member.bo.ChangeTeamBO;
import com.coderman.basketball.domain.model.member.bo.PlayerAggregateBO;

import java.util.List;

/**
 * Description:
 * date: 2021/5/14
 *
 * @author shenshuai
 * @version 1.0.0
 * @since JDK 1.8
 */
public interface MemberRepository {
    /**
     * 获取某一年的选秀球员顺位和基本签约球队+部分球场统计数据
     * @param year
     * @return
     */
    List<PlayerAggregateBO> getPlayerSort(Integer year);

    /**
     * 球员转会交易改变球队-球员关系
     * @param changeTeamBO
     * @return
     */
    void changeTeam(ChangeTeamBO changeTeamBO);

    /**
     * 球队裁员
     */
    void layoff();



}
